package com.woniuxy.kaer.tenants.feign.impl;

import com.woniuxy.kaer.commons.util.Result;
import com.woniuxy.kaer.tenants.dto.FoundInfoDto;
import com.woniuxy.kaer.tenants.dto.ShopInfoDto;
import com.woniuxy.kaer.tenants.feign.TenantsFeignClient;
import com.woniuxy.kaer.tenants.from.ChangeShopScoreFrom;
import com.woniuxy.kaer.tenants.from.UpdateShopScoreFrom;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Component
public class TenantsFeignClientImpl implements TenantsFeignClient {
    @Override
    public Result<ShopInfoDto> getShopInfoByShopId(Integer shopId) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result updateShopScore(UpdateShopScoreFrom from) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result<FoundInfoDto> getFounderById(Integer founderId) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result<ShopInfoDto> getShopInfoByFounderId(Integer founderId) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result<List<ShopInfoDto>> getAllShopInfo() throws Exception {
        return Result.succeed("服务繁忙",null);
    }

    @Override
    public Result shopServiceCount(ChangeShopScoreFrom from) throws Exception {
        return Result.succeed("服务繁忙",null);
    }

}
